#!/usr/bin/env python
# coding=utf-8


# 12 高级排序
x = ['abc', 'bhhyw', 'kjkakys', 'c']
x.sort(key=len)  # key调用函数来排序,此处len为按长度排序
print(x)
